package com.jiuyin.dianjing.model;

public class ReplyModel {
    /**
     * 评论被回复次数
     */
    public int reply_num;
    public reply reply;

    public class reply {
        /**
         * 回复主键
         */
        public String topicreply_id;
        public String create_time;
        /**
         * c用户主键??
         */
        public String user_id;
        /**
         * 被回复人主键
         */
        public String target_id;
        /**
         * 评论主键
         */
        public String comment_id;
        public String content;
        /**
         * 回复者昵称
         */
        public String nickname;
        /**
         * 回复者头像地址
         */
        public String header;

        public CommentModel.Reply convert() {
            CommentModel.Reply model = new CommentModel().new Reply();
            model.r_content = content;
            model.r_create_time = create_time;
            model.s_nickname = nickname;
            model.s_header = header;

            return model;
        }
    }
}
